import { Module } from '@nestjs/common';
import { PassportModule } from '@nestjs/passport';

import { DatabaseModule } from '@/database/database.module';

import { InterfaceController } from './interface.controller';
import { InterfaceService } from './interface.service';
import { InterfaceProviders } from './schema/interface.providers';

@Module({
  imports: [
    PassportModule.register({ defaultStrategy: 'jwt' }),
    DatabaseModule
  ],
  controllers: [InterfaceController],
  providers: [InterfaceService, ...InterfaceProviders]
})
export class InterfaceModule { }
